Skip to content

Conversation

@pinguincoding
Copy link
Contributor

Fixed an issue where the icon font CSS was not properly loaded in templates using {{ bootstrap.load_icon_font_css() }} when BOOTSTRAP_SERVE_LOCAL was set to True.

The error was due to an incorrect path specification. The path has been corrected in flask_bootstrap/__init__.py from font/bootstrap-icons.min.css to css/font/bootstrap-icons.min.css on line 134, ensuring that the icon font CSS loads correctly.

This commit resolves an issue where the bootstrap-icons.min.css was not loading correctly when 'BOOTSTRAP_SERVE_LOCAL' was set to True.
@greyli greyli merged commit 699df78 into helloflask:main Apr 24, 2025
17 checks passed
@greyli
Copy link
Member

greyli commented Apr 24, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants